]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
general: Rename "application" to "app"
authorsunflowerskater <sunflowerskater@tutanota.com>
Fri, 16 Dec 2022 21:33:10 +0000 (18:33 -0300)
committerMarge Bot <marge-bot@gnome.org>
Tue, 7 Feb 2023 14:46:28 +0000 (14:46 +0000)
Several places in Shell use the word "application". However,"app"
is a more common term nowadays, so update strings accordingly.

https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/123
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6202

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2614>

14 files changed:
data/50-gnome-shell-launchers.xml
data/50-gnome-shell-system.xml
js/ui/appDisplay.js
js/ui/closeDialog.js
js/ui/components/autorunManager.js
js/ui/dash.js
js/ui/inhibitShortcutsDialog.js
js/ui/main.js
js/ui/notificationDaemon.js
js/ui/overviewControls.js
js/ui/padOsd.js
js/ui/screenShield.js
js/ui/shellDBus.js
subprojects/extensions-app/README.md

index ca57ee68c499ed83b0429e18d1f5729093148e0f..f3a606f80cb79ca19ba2468801a386e1f3723d9e 100644 (file)
@@ -6,39 +6,39 @@
                 package="gnome-shell">
 
        <KeyListEntry name="switch-to-application-1"
-                      description="Activate favorite application 1"
+                      description="Activate favorite app 1"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-2"
-                      description="Activate favorite application 2"
+                      description="Activate favorite app 2"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-3"
-                      description="Activate favorite application 3"
+                      description="Activate favorite app 3"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-4"
-                      description="Activate favorite application 4"
+                      description="Activate favorite app 4"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-5"
-                      description="Activate favorite application 5"
+                      description="Activate favorite app 5"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-6"
-                      description="Activate favorite application 6"
+                      description="Activate favorite app 6"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-7"
-                      description="Activate favorite application 7"
+                      description="Activate favorite app 7"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-8"
-                      description="Activate favorite application 8"
+                      description="Activate favorite app 8"
                       hidden="true"/>
 
        <KeyListEntry name="switch-to-application-9"
-                      description="Activate favorite application 9"
+                      description="Activate favorite app 9"
                       hidden="true"/>
 
 </KeyListEntries>
index 33e5ba532d34f2099d91cffdf2a5e6497aa89b78..37fd0cd86020f35774cd8c60b28e675746a06a84 100644 (file)
                       description="Show the overview"/>
 
        <KeyListEntry name="toggle-application-view"
-                      description="Show all applications"/>
+                      description="Show all apps"/>
 
        <KeyListEntry name="open-application-menu"
-                      description="Open the application menu"/>
+                      description="Open the app menu"/>
 
 </KeyListEntries>
 
index a9b876e317f658e76b96fcac674bb92e7d974651..2535f2ee8021fedbb030b902ca4a704eec846d6f 100644 (file)
@@ -1149,7 +1149,7 @@ var BaseAppView = GObject.registerClass({
         if (this._items.has(id))
             this._items.get(id).navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
         else
-            log(`No such application ${id}`);
+            log(`No such app ${id}`);
     }
 
     selectApp(id) {
index f5ddecd2b39c573c4f70bce90ba6cd0d60662fff..ace93b8f0369cfd1cc95cde9b8f6c6e229698e6d 100644 (file)
@@ -39,7 +39,7 @@ var CloseDialog = GObject.registerClass({
         /* Translators: %s is an application name */
         let title = _("ā€œ%sā€ is not responding.").format(windowApp.get_name());
         let description = _('You may choose to wait a short while for it to ' +
-                            'continue or force the application to quit entirely.');
+                            'continue or force the app to quit entirely.');
         return new Dialog.MessageDialogContent({ title, description });
     }
 
index 0e3fa9385beb506700cc528f4ea2756da2e812e2..4a55a3a2a84d17c2295e15dee688862efb9daa44 100644 (file)
@@ -68,7 +68,7 @@ function startAppForMount(app, mount) {
         retval = app.launch(files,
                             global.create_app_launch_context(0, -1));
     } catch (e) {
-        log(`Unable to launch the application ${app.get_name()}: ${e}`);
+        log(`Unable to launch the app ${app.get_name()}: ${e}`);
     }
 
     return retval;
index 1514d2999cc71f884a7f69dc267743dfbb9d4e23..212592bdfe67c54346707080c451c5e09aa68019 100644 (file)
@@ -202,7 +202,7 @@ class ShowAppsIcon extends DashItemContainer {
             toggle_mode: true,
         });
         this._iconActor = null;
-        this.icon = new IconGrid.BaseIcon(_('Show Applications'), {
+        this.icon = new IconGrid.BaseIcon(_('Show Apps'), {
             setSizeManually: true,
             showLabel: false,
             createIcon: this._createIcon.bind(this),
@@ -248,7 +248,7 @@ class ShowAppsIcon extends DashItemContainer {
         if (canRemove)
             this.setLabelText(_('Unpin'));
         else
-            this.setLabelText(_("Show Applications"));
+            this.setLabelText(_('Show Apps'));
     }
 
     handleDragOver(source, _actor, _x, _y, _time) {
index 7c3d159968f8db178b814fa186109b8fe8ce4879..d38aae6a76ac17da1f9dc31a0ac1fd7c2de96ada 100644 (file)
@@ -75,8 +75,8 @@ var InhibitShortcutsDialog = GObject.registerClass({
             title: _('Allow inhibiting shortcuts'),
             description: name
                 /* Translators: %s is an application name like "Settings" */
-                ? _('The application %s wants to inhibit shortcuts').format(name)
-                : _('An application wants to inhibit shortcuts'),
+                ? _('The app %s wants to inhibit shortcuts').format(name)
+                : _('An app wants to inhibit shortcuts'),
         });
 
         let restoreAccel = this._getRestoreAccel();
index 3c7ed964765fba4db854531542a2367b18eb310a..16c1eef9fe23ba8c442c7ac08a8d7f077dff722b 100644 (file)
@@ -284,7 +284,7 @@ function _initializeUI() {
         messageTray.add(source);
         const notification = new MessageTray.Notification(source,
             _('System was put in unsafe mode'),
-            _('Applications now have unrestricted access'));
+            _('Apps now have unrestricted access'));
         notification.addAction(_('Undo'),
             () => (global.context.unsafe_mode = false));
         notification.setTransient(true);
index b27158e4f589c2faf263c7cf9ad43bf8b80c2505..22e716220cf6a72dfc5414cb01975ef21c2ca926 100644 (file)
@@ -597,7 +597,7 @@ class GtkNotificationDaemonAppSource extends MessageTray.Source {
             const params = target ? [target] : [];
             app.ActivateActionAsync(actionId, params, getPlatformData());
         } catch (error) {
-            logError(error, 'Failed to activate application proxy');
+            logError(error, 'Failed to activate app proxy');
         }
         Main.overview.hide();
         Main.panel.closeCalendar();
@@ -608,7 +608,7 @@ class GtkNotificationDaemonAppSource extends MessageTray.Source {
             const app = await this._createApp();
             app.ActivateAsync(getPlatformData());
         } catch (error) {
-            logError(error, 'Failed to open application proxy');
+            logError(error, 'Failed to open app proxy');
         }
         Main.overview.hide();
         Main.panel.closeCalendar();
index 3528a73b13a33ebc563751156ecc509b7456f0c7..18df17278f80508adf89e5a45fde1d3bb38212a3 100644 (file)
@@ -405,7 +405,7 @@ class ControlsManager extends St.Widget {
 
         Main.ctrlAltTabManager.addGroup(
             this.appDisplay,
-            _('Applications'),
+            _('Apps'),
             'view-app-grid-symbolic', {
                 proxy: this,
                 focusCallback: () => {
index 2442e98fcfd98188870626a42fd35eab7513cb21..33d5a87f13ea8ce159115feef027eacb494e2fe6 100644 (file)
@@ -150,10 +150,10 @@ var ActionComboBox = GObject.registerClass({
         this._editMenuManager.addMenu(this._editMenu);
 
         this._actionLabels = new Map();
-        this._actionLabels.set(GDesktopEnums.PadButtonAction.NONE, _("Application defined"));
-        this._actionLabels.set(GDesktopEnums.PadButtonAction.HELP, _("Show on-screen help"));
-        this._actionLabels.set(GDesktopEnums.PadButtonAction.SWITCH_MONITOR, _("Switch monitor"));
-        this._actionLabels.set(GDesktopEnums.PadButtonAction.KEYBINDING, _("Assign keystroke"));
+        this._actionLabels.set(GDesktopEnums.PadButtonAction.NONE, _('App defined'));
+        this._actionLabels.set(GDesktopEnums.PadButtonAction.HELP, _('Show on-screen help'));
+        this._actionLabels.set(GDesktopEnums.PadButtonAction.SWITCH_MONITOR, _('Switch monitor'));
+        this._actionLabels.set(GDesktopEnums.PadButtonAction.KEYBINDING, _('Assign keystroke'));
 
         this._buttonItems = [];
 
index 6c2fe25c2abbdb28f7c14946c6b77eb5787784a9..b6c3c554745de5269ad965b0abd3ed8a86c3953b 100644 (file)
@@ -268,8 +268,9 @@ var ScreenShield = class extends Signals.EventEmitter {
             //
             // XXX: another option is to kick the user into the gdm login
             // screen, where we're not affected by grabs
-            Main.notifyError(_("Unable to lock"),
-                             _("Lock was blocked by an application"));
+            Main.notifyError(
+                _('Unable to lock'),
+                _('Lock was blocked by an app'));
             return;
         }
 
@@ -665,8 +666,9 @@ var ScreenShield = class extends Signals.EventEmitter {
 
         // Warn the user if we can't become modal
         if (!this._becomeModal()) {
-            Main.notifyError(_("Unable to lock"),
-                             _("Lock was blocked by an application"));
+            Main.notifyError(
+                _('Unable to lock'),
+                _('Lock was blocked by an app'));
             return;
         }
 
index 0b458316a24f148071a034585477004d444a9511..244214e8c0743d3821e54bd0f3934e1c939976b1 100644 (file)
@@ -160,7 +160,7 @@ var GnomeShell = class {
             invocation.return_error_literal(
                 Gio.DBusError,
                 Gio.DBusError.FILE_NOT_FOUND,
-                `No application with ID ${id}`);
+                `No app with ID ${id}`);
             return;
         }
 
index 6c0feb64852046e1531eac59eba87fe6109a958d..d621ed1abbb37bd853b95dc6f0696f3ba6b59a3c 100644 (file)
@@ -1,5 +1,5 @@
 # ![logo] GNOME Extensions
-GNOME Extensions is a small application for managing GNOME Shell
+GNOME Extensions is a small app for managing GNOME Shell
 extensions. It is usually built as part of gnome-shell, but can be
 used as a stand-alone project as well.